reliability of USB xfers on select Garmins.
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3644
f51c46e8-681c-474f-0cfe-
069cfd0219fb
/*
* Hrmph. No iManufacturer or iProduct headers....
*/
+
+
+#if __APPLE__
+ // On Leopard, if we don't do an explicit set_configuration, some
+ // devices will work only the first time after a reset.
+ if (usb_set_configuration(udev, 1) < 0) {
+ fatal("usb_set_configuration failed: %s\n", usb_strerror());
+ };
+#endif
+
#if 0
if (usb_set_configuration(udev, 1) < 0) {
#if __linux__